<!DOCTYPE html>
<html >
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        p{
            background-color: chartreuse;
            width: 50px;
            height: 100px;
        }
        a{
            width: 50px;
            height: 100px;
        }
        div{
            background-color: cornflowerblue;
        }
        span{
            width: 50px;
            height: 100px;
            display: inline-block;
        }
    </style>
</head>
<body>
    <p>段落一</p>
    <p>段落二</p>
    <div>
        <a href="">百度</a>
        <a href="">腾讯</a>
    </div>
    <div>
        <span>新浪</span>
        <span>搜狐</span>
    </div>
</body>
</html>